[INFO] cloning repository https://github.com/Mart-Bogdan-Trash/win-api-buffers-experiments
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Mart-Bogdan-Trash/win-api-buffers-experiments" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMart-Bogdan-Trash%2Fwin-api-buffers-experiments", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMart-Bogdan-Trash%2Fwin-api-buffers-experiments'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 0e7701665b6b057b184ac470c36ae50091b822da
[INFO] checking Mart-Bogdan-Trash/win-api-buffers-experiments against master#af3c6e733a40e671550e0f0f5aeecaa13772ba56 for pr-74989
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMart-Bogdan-Trash%2Fwin-api-buffers-experiments" "/workspace/builds/worker-1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/Mart-Bogdan-Trash/win-api-buffers-experiments on toolchain af3c6e733a40e671550e0f0f5aeecaa13772ba56
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+af3c6e733a40e671550e0f0f5aeecaa13772ba56" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/Mart-Bogdan-Trash/win-api-buffers-experiments
[INFO] finished tweaking git repo https://github.com/Mart-Bogdan-Trash/win-api-buffers-experiments
[INFO] tweaked toml for git repo https://github.com/Mart-Bogdan-Trash/win-api-buffers-experiments written to /workspace/builds/worker-1/source/Cargo.toml
[INFO] crate git repo https://github.com/Mart-Bogdan-Trash/win-api-buffers-experiments already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+af3c6e733a40e671550e0f0f5aeecaa13772ba56" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+af3c6e733a40e671550e0f0f5aeecaa13772ba56" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 05c1a49b4fcea1c81bcb963549b80eebd10012d33a6a146fe5e6c389c77f1ae8
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "05c1a49b4fcea1c81bcb963549b80eebd10012d33a6a146fe5e6c389c77f1ae8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "05c1a49b4fcea1c81bcb963549b80eebd10012d33a6a146fe5e6c389c77f1ae8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "05c1a49b4fcea1c81bcb963549b80eebd10012d33a6a146fe5e6c389c77f1ae8", kill_on_drop: false }`
[INFO] [stdout] 05c1a49b4fcea1c81bcb963549b80eebd10012d33a6a146fe5e6c389c77f1ae8
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+af3c6e733a40e671550e0f0f5aeecaa13772ba56" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] bd5d10d2c616102c87ba8340eacb2a11646de399836468fe6195fe2f17c06906
[INFO] running `Command { std: "docker" "start" "-a" "bd5d10d2c616102c87ba8340eacb2a11646de399836468fe6195fe2f17c06906", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]    Compiling winapi v0.3.7
[INFO] [stderr]     Checking win-api-buffers v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stdout]  --> src/main.rs:2:13
[INFO] [stdout]   |
[INFO] [stdout] 2 | use winapi::shared::ntdef::LPWSTR;
[INFO] [stdout]   |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]  --> src/main.rs:3:13
[INFO] [stdout]   |
[INFO] [stdout] 3 | use winapi::um::fileapi::GetFinalPathNameByHandleW;
[INFO] [stdout]   |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]  --> src/main.rs:4:13
[INFO] [stdout]   |
[INFO] [stdout] 4 | use winapi::um::processenv::GetStdHandle;
[INFO] [stdout]   |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]  --> src/main.rs:5:13
[INFO] [stdout]   |
[INFO] [stdout] 5 | use winapi::um::winnt::HANDLE;
[INFO] [stdout]   |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os`
[INFO] [stdout]   --> src/main.rs:10:14
[INFO] [stdout]    |
[INFO] [stdout] 10 | use std::os::windows::prelude::*;
[INFO] [stdout]    |              ^^^^^^^ could not find `windows` in `os`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]   --> src/main.rs:14:51
[INFO] [stdout]    |
[INFO] [stdout] 14 |         let handle: HANDLE = GetStdHandle(winapi::um::winbase::STD_OUTPUT_HANDLE);
[INFO] [stdout]    |                                                   ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope
[INFO] [stdout]   --> src/main.rs:14:21
[INFO] [stdout]    |
[INFO] [stdout] 14 |         let handle: HANDLE = GetStdHandle(winapi::um::winbase::STD_OUTPUT_HANDLE);
[INFO] [stdout]    |                     ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetStdHandle` in this scope
[INFO] [stdout]   --> src/main.rs:14:30
[INFO] [stdout]    |
[INFO] [stdout] 14 |         let handle: HANDLE = GetStdHandle(winapi::um::winbase::STD_OUTPUT_HANDLE);
[INFO] [stdout]    |                              ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetFinalPathNameByHandleW` in this scope
[INFO] [stdout]   --> src/main.rs:18:28
[INFO] [stdout]    |
[INFO] [stdout] 18 |             let name_len = GetFinalPathNameByHandleW(
[INFO] [stdout]    |                            ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `LPWSTR` in this scope
[INFO] [stdout]   --> src/main.rs:20:39
[INFO] [stdout]    |
[INFO] [stdout] 20 |                 &mut buf as *mut _ as LPWSTR,
[INFO] [stdout]    |                                       ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stdout]  --> src/main.rs:2:13
[INFO] [stdout]   |
[INFO] [stdout] 2 | use winapi::shared::ntdef::LPWSTR;
[INFO] [stdout]   |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]  --> src/main.rs:3:13
[INFO] [stdout]   |
[INFO] [stdout] 3 | use winapi::um::fileapi::GetFinalPathNameByHandleW;
[INFO] [stdout]   |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]  --> src/main.rs:4:13
[INFO] [stdout]   |
[INFO] [stdout] 4 | use winapi::um::processenv::GetStdHandle;
[INFO] [stdout]   |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]  --> src/main.rs:5:13
[INFO] [stdout]   |
[INFO] [stdout] 5 | use winapi::um::winnt::HANDLE;
[INFO] [stdout]   |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os`
[INFO] [stdout]   --> src/main.rs:10:14
[INFO] [stdout]    |
[INFO] [stdout] 10 | use std::os::windows::prelude::*;
[INFO] [stdout]    |              ^^^^^^^ could not find `windows` in `os`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]   --> src/main.rs:14:51
[INFO] [stdout]    |
[INFO] [stdout] 14 |         let handle: HANDLE = GetStdHandle(winapi::um::winbase::STD_OUTPUT_HANDLE);
[INFO] [stdout]    |                                                   ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope
[INFO] [stdout]   --> src/main.rs:14:21
[INFO] [stdout]    |
[INFO] [stdout] 14 |         let handle: HANDLE = GetStdHandle(winapi::um::winbase::STD_OUTPUT_HANDLE);
[INFO] [stdout]    |                     ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetStdHandle` in this scope
[INFO] [stdout]   --> src/main.rs:14:30
[INFO] [stdout]    |
[INFO] [stdout] 14 |         let handle: HANDLE = GetStdHandle(winapi::um::winbase::STD_OUTPUT_HANDLE);
[INFO] [stdout]    |                              ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetFinalPathNameByHandleW` in this scope
[INFO] [stdout]   --> src/main.rs:18:28
[INFO] [stdout]    |
[INFO] [stdout] 18 |             let name_len = GetFinalPathNameByHandleW(
[INFO] [stdout]    |                            ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `LPWSTR` in this scope
[INFO] [stdout]   --> src/main.rs:20:39
[INFO] [stdout]    |
[INFO] [stdout] 20 |                 &mut buf as *mut _ as LPWSTR,
[INFO] [stdout]    |                                       ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `from_wide` found for struct `OsString` in the current scope
[INFO] [stdout]   --> src/main.rs:30:33
[INFO] [stdout]    |
[INFO] [stdout] 30 |             let str = OsString::from_wide(&buf[0..(name_len as usize)]);
[INFO] [stdout]    |                                 ^^^^^^^^^ function or associated item not found in `OsString`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `from_wide` found for struct `OsString` in the current scope
[INFO] [stdout]   --> src/main.rs:30:33
[INFO] [stdout]    |
[INFO] [stdout] 30 |             let str = OsString::from_wide(&buf[0..(name_len as usize)]);
[INFO] [stdout]    |                                 ^^^^^^^^^ function or associated item not found in `OsString`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `win-api-buffers`.
[INFO] [stdout] error: aborting due to 11 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0433, E0599.
[INFO] [stdout] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] 
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error: aborting due to 11 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0433, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] 
[INFO] [stderr] error: build failed
[INFO] running `Command { std: "docker" "inspect" "bd5d10d2c616102c87ba8340eacb2a11646de399836468fe6195fe2f17c06906", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "bd5d10d2c616102c87ba8340eacb2a11646de399836468fe6195fe2f17c06906", kill_on_drop: false }`
[INFO] [stdout] bd5d10d2c616102c87ba8340eacb2a11646de399836468fe6195fe2f17c06906
